#ifndef NL_MESSAGE_H_
#define NL_MESSAGE_H_

#include "base/base.h"
#include <asm/types.h>
#include <linux/if_link.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>

namespace unet {
class Buffer;

class NlMessage {
 public:
  NlMessage();
  ~NlMessage();

  nlmsghdr* MsgHdr();

 private:
  scoped_ptr<Buffer> buf_;

  DISALLOW_COPY_AND_ASSIGN(NlMessage);
};
}

#endif
